package design.model.chain;

/**
 * @author: Eternity.麒麟
 * @description: 执行结果
 * @date: 2022/4/10 19:20
 * @version: 1.0
 */
public class Result {

    private Boolean success;

    private String msg;

    public Result(Boolean success, String msg) {
        this.success = success;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "审核结果：[" +
                "是否成功：" + success +
                ", 消息：'" + msg + '\'' +
                ']';
    }
}
